package com.studentSystem.service;

import com.studentSystem.pojo.Grades;

import java.math.BigDecimal;
import java.util.List;

public interface GradesService {
    List<Grades> getGradesByStudentId(Long studentId);

    double getAverageGradeByStudentId(Long studentId);

    BigDecimal getTotalGradeByStudentId(Long studentId);

    List<Grades> getGradesByStudentIdAll();

    void addGrade(Grades grades);

    Grades exiting(Long studentId, Long courseId);

    void updateGrade(Grades grades);

    void delete(Long studentId, Long courseId);
}
